<template>
  <van-nav-bar
    title="上传头像"
    left-text="返回"
    left-arrow
    @click-left="$router.back()"
    fixed
    placeholder
  />
  <van-uploader v-model="fileList" multiple  result-type="text" />
</template>
<!-- @click="updatetx" -->
<script setup>
import { updateAvatar } from '@/api/user'
import { ref } from 'vue'
let userid = localStorage.getItem('userid')
let fileList = ref()
</script>

<style></style>
